8.8
HIGH CVSS 3.0
CVE-2018-16854
Moodle Cross-Site Request Forgery (CSRF) Vulnerability
Description

A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.

INFO

Published Date :

Nov. 26, 2018, 5:29 p.m.

Last Modified :

Nov. 21, 2024, 3:53 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-16854 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Moodle moodle
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
This vulnerability allows for a cross-site request forgery in Moodle, allowing an attacker to potentially perform actions as other users.
  • Update the Moodle package.
  • If a newer version is not available, upgrade to the latest maintained branch.
Public PoC/Exploit Available at Github

CVE-2018-16854 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-16854.

URL Resource
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 Patch Vendor Advisory
http://www.securityfocus.com/bid/106017 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1042154 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 Issue Tracking Patch Third Party Advisory
https://moodle.org/mod/forum/discuss.php?d=378731 Vendor Advisory
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 Patch Vendor Advisory
http://www.securityfocus.com/bid/106017 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1042154 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 Issue Tracking Patch Third Party Advisory
https://moodle.org/mod/forum/discuss.php?d=378731 Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-16854 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-16854 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Сканування за допомогою ПЗ Badmoodle системи дистанційного навчання ДУІТЗ

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 19, 2024, 7:56 a.m. This repo has been linked 181 different CVEs too.

None

Updated: 2 months, 3 weeks ago
84 stars 31 fork 31 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1114 different CVEs too.

Scripts for exploiting MSA-18-0020 (CVE-2018-16854) and MSA-19-0004 (CVE-2019-3847)

HTML PHP JavaScript

Updated: 1 year, 2 months ago
7 stars 0 fork 0 watcher
Born at : April 4, 2019, 5:24 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-16854 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-16854 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183
    Added Reference http://www.securityfocus.com/bid/106017
    Added Reference http://www.securitytracker.com/id/1042154
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854
    Added Reference https://moodle.org/mod/forum/discuss.php?d=378731
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
    Added CWE Red Hat, Inc. CWE-352
  • Modified Analysis by [email protected]

    Mar. 07, 2019

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 31, 2019

    Action Type Old Value New Value
    Changed Description A flaw was found in moodle before versions 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15. The login form is not protected by a token to prevent login cross-site request forgery. A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.
  • Initial Analysis by [email protected]

    Dec. 19, 2018

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://moodle.org/mod/forum/discuss.php?d=378731 No Types Assigned https://moodle.org/mod/forum/discuss.php?d=378731 Vendor Advisory
    Changed Reference Type http://www.securitytracker.com/id/1042154 No Types Assigned http://www.securitytracker.com/id/1042154 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/106017 No Types Assigned http://www.securityfocus.com/bid/106017 Third Party Advisory, VDB Entry
    Changed Reference Type http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 No Types Assigned http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 Patch, Vendor Advisory
    Added CWE CWE-352
    Added CPE Configuration OR *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions up to (including) 3.0.10 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.15 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.3.0 up to (excluding) 3.3.9 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.4.6 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.3
  • CVE Modified by [email protected]

    Nov. 28, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/106017 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 27, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1042154 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.62 }} -0.03%

score

0.81153

percentile